package com.zhijian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhijian.entity.ChatMessage;

import java.util.List;

public interface IChatMessageService extends IService<ChatMessage> {
    
    // 获取离线消息
    List<ChatMessage> getOfflineMessages(String userId);
    
    // 标记消息为已读
    void markMessageAsRead(Long messageId);
    
    // 保存消息
    void saveMessage(ChatMessage message);
} 